Performance Analysis of Odd-even Merge Sort by Using Openmp, Mpi and Concurrent Java
نویسندگان
چکیده
Sorting is a method which arranges the list of elements into a particular order. sorting has two different meanings ordering and categorizing, ordering means to order the list of same items and categorizing means grouping and labeling the same type of items[2]. sorting is used in other algorithms that require sorted list to work efficiently. The odd-even merge sort algorithm was developed by K.E. Batcher [1]. Odd even merge sort algorithm can be used for the construction of a systematic sorting network. To construct a systematic sorting network, it is necessary to construct a comparison network that can sort any odd-even sequence. The main idea of this algorithm is that first it sorts the odd position list and the even position list, finally it combines the two sorted list into a single sorted sequence by using a merge algorithm. In this paper we tried to parallelize this sorting algorithm into three different modules that is openmp, mpi and concurrent java and compared the results of sequence implementation with parallel. II. ODD-EVEN MERGE SORT: Algorithm for oddeven merge sort Input: sequence t0, ..., ti-1 of length i>1 whose two halves t0, ..., ti/2-1 and ti/2, ..., t i-1 are sorted (i a multiple of 2) Output: sorted sequence
منابع مشابه
Parallel computing using MPI and OpenMP on self-configured platform, UMZHPC.
Parallel computing is a topic of interest for a broad scientific community since it facilitates many time-consuming algorithms in different application domains.In this paper, we introduce a novel platform for parallel computing by using MPI and OpenMP programming languages based on set of networked PCs. UMZHPC is a free Linux-based parallel computing infrastructure that has been developed to cr...
متن کاملSorting on a Massively Parallel System Using a Library of Basic Primitives: Modeling and Experimental Results
We present a comparative study of implementations of the following sorting algorithms on the Parsytec SC320 reconfigurable, asynchronous, massively parallel MIMD machine: Bitonic Sort, Odd-Even Merge Sort, Odd-Even Merge Sort with guarded split&merge, and two variants of Samplesort. The experiments are performed on 2up to 5-dimensional wrapped butterfly networks with 8 up to 160 processors. We ...
متن کاملParallel System Using a Library of Basic Primitives: Modeling and Experimental Results?
We present a comparative study of implementations of the following sorting algorithms on the Parsytec SC320 reconfigurable, asynchronous, massively parallel MIMD machine: Bitonic Sort, Odd-Even Merge Sort, Odd-Even Merge Sort with guarded split&merge, and two variants of Samplesort. The experiments are performed on 2up to 5-dimensional wrapped butterfly networks with 8 up to 160 processors. We ...
متن کاملA Practical Performance Comparison of Parallel Sorting Algorithms on Homogeneous Network of Workstations
Three parallel sorting algorithms have been implemented and compared in terms of their overall execution time. The algorithms implemented are the odd-even transposition sort, parallel merge sort and parallel rank sort. A homogeneous cluster of workstations has been used to compare the algorithms implemented. The MPI library has been selected to establish the communication and synchronization be...
متن کاملComparison and Analysis of Parallel Computing Performance Using OpenMP and MPI
The developments of multi-core technology have induced big challenges to software structures. To take full advantages of the performance enhancements offered by new multi-core hardware, software programming models have made a great shift from sequential programming to parallel programming. OpenMP (Open Multi-Processing) and MPI (Message Passing Interface), as the most common parallel programmin...
متن کامل